/**
 * 
 */
package com.uuticketweb.ticket.manager.bean;

import java.util.ArrayList;
import java.util.List;

/**
 * @author stephen
 *
 */
public class Trip {

	private String tripType;
	private String departFlight;
	private String returnFlight;
	private String departDate;
	private String returnDate;
	private PolicyClass departClass;
	private PolicyClass returnClass;
	private int price;
	private List<String> conditions = new ArrayList<String>();

	/**
	 * @return the departClass
	 */
	public PolicyClass getDepartClass() {
		return departClass;
	}
	/**
	 * @param departClass the departClass to set
	 */
	public void setDepartClass(PolicyClass departClass) {
		this.departClass = departClass;
	}
	/**
	 * @return the departDate
	 */
	public String getDepartDate() {
		return departDate;
	}
	/**
	 * @param departDate the departDate to set
	 */
	public void setDepartDate(String departDate) {
		this.departDate = departDate;
	}
	/**
	 * @return the departFlight
	 */
	public String getDepartFlight() {
		return departFlight;
	}
	/**
	 * @param departFlight the departFlight to set
	 */
	public void setDepartFlight(String departFlight) {
		this.departFlight = departFlight;
	}
	/**
	 * @return the price
	 */
	public int getPrice() {
		return price;
	}
	/**
	 * @param price the price to set
	 */
	public void setPrice(int price) {
		this.price = price;
	}
	/**
	 * @return the returnClass
	 */
	public PolicyClass getReturnClass() {
		return returnClass;
	}
	/**
	 * @param returnClass the returnClass to set
	 */
	public void setReturnClass(PolicyClass returnClass) {
		this.returnClass = returnClass;
	}
	/**
	 * @return the returnDate
	 */
	public String getReturnDate() {
		return returnDate;
	}
	/**
	 * @param returnDate the returnDate to set
	 */
	public void setReturnDate(String returnDate) {
		this.returnDate = returnDate;
	}
	/**
	 * @return the returnFlight
	 */
	public String getReturnFlight() {
		return returnFlight;
	}
	/**
	 * @param returnFlight the returnFlight to set
	 */
	public void setReturnFlight(String returnFlight) {
		this.returnFlight = returnFlight;
	}
	/**
	 * @return the tripType
	 */
	public String getTripType() {
		return tripType;
	}
	/**
	 * @param tripType the tripType to set
	 */
	public void setTripType(String tripType) {
		this.tripType = tripType;
	}

	public void addCondition(String cond) {
		this.conditions.add(cond);
	}

	public void clearCondition() {
		this.conditions.clear();
	}
}
